

<div class="layui-form" lay-filter="back-role-permission-form">
  <div class="layui-form-item">
    <label class="layui-form-label">角色名称</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="hidden" name="id" value="{{ d.params.id || '' }}">
        <input type="text" value="{{ d.params.name || '' }}"  class="layui-input" readonly>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">权限</label>
    <div class="layui-input-block">
      <table class="layui-hidden" id="back-role-permission" lay-filter="back-role-permission"></table>
    </div>
  </div>
  <div class="layui-form-item" style="text-align: center;">
    <button class="layui-btn" lay-submit lay-filter="back-role-permission-form-submit">确认</button>
    <button class="layui-btn" type="button" id="layer-close">关闭</button>
  </div>
</div>
<script>
layui.use(['admin', 'form'], function(){
  var $ = layui.$
  ,form = layui.form;
  
});
</script>
